refactored code
Merge branch 'master' of http://github.com/abdulla-aden/tennis