adding attributes to base model