Looks messy to have this function in the base class. Only used once. Can we find a different way?