removed variable declaration within draw loop