Removed unused VARS

Attempt to reduce memory usage