updated with example of modelProxy