Fixed timer bug. Note to self, don't initialize timer in a for loop.