delete density test code