Forming the base model