i think you can move this to the top of the file and only have it once