insert method complete