implemented parse and extending base model