implemented delete with out keyboard