added delete function, think I am done