added default to states and default model method