isolating conditional statements
v1 parsing complete, cannot handle func declarations on multiple lines, but the code successfully parses, needs validation