implement model-to helper