location function insert…haven't test yet