having a problem with density