removal of globally declared variable
removed unneeded variables
Merge pull request #4 from DeclanT/Creating-The-Model

removal of globally declared variable