Ahmad,
The question you are asking is very broad ("How do I make a model work").
If you could break down your question to more clearly show the problems you are having, what you have tried, why it is not working and the goals you are trying to achieve, etc. it would help others to answer your question.
All the best,
Joshua