added comment explaining transformAST