Added "delete" as a valid command for user input because of complaints.