trying to get delete function to work, not working right now, had to
leave. will work on it again later.