building model method implementation