added delete and sold