solved all problems of models