added hidden delete function