make delete function
and modify search and print