Optimization #1

Optimization from lev76g @ AquaFlame.NET Forums