models and numbers can now be cast to particular classes