-- have created a method for delete a row