Developing a Mathematical model