constraints added to model class. golinski does not work as of yet.