added delete key functionality