beginning of delete functionality
cleanup