Optimized code
bugfix undefined objects
Optimized code
Intermediate saving