refactored helper for simplicity
Merge branch 'master' of github.com:igorkasyanchuk/iGrads