impl if type
impl if visit
fixes logger output
adds if specs
fixes comment
Merge pull request #11 from nokamoto/if

If