That's the initialization. Any errors would be in the main loop. (if you're in the main loop, something is very wrong)