delete and all functionality works