adds delete_row method