Can we move this to a method as well? Get rid of these instances where possible.