added subtype example
fixed type for default
Merge pull request #14 from fehguy/master

added subtype model