machine initialize method spec and model setup