deleted unused function insert