added new methods to BaseModel