Can you move this def above line 32 (above where it is first use)