removed unnecessary if check
Merge pull request #11 from sayshay/master

removed unnecessary if check