adding back delete class for delete functionality