I would pull this into a private method.