added the function and 'use strict' code
Merge pull request #5 from DeclanT/Creating-The-Model

added the function and 'use strict' code