created a custom model class for crystal ball