added optimizations
JIT and optimizer