modified model so it handles null
Merge pull request #27 from Brianified/master

modified model so it handles null