added function to model
Merge branch 'develop' of https://github.com/EJEHardenberg/WebsiteWeekend into develop