rename map_to_model into model