Refactored Code part2
Merge remote-tracking branch 'origin/master'