moved method symbol insert logic