improved if Formulize
Merge pull request #9 from luciorota/master

improved if Formulize