Move a few variable initializations to the setup() function