If you converted this to a guard you could reduce a level of indentation…this code is getting pretty indentation heavy.