Added functionality to be able to delete a row