add code for gmpoint_model