Will pull this out to a method to make it more obvious.