basic deleting feature implemented