removed $Meta stuff
correct syntax error
support for multiple optimizations