added deletion of entry; required updating
added getentry function