model loading added