refactored code
DRY
Merge pull request #10 from hephcero/leap

refactoring code