I don't see a reason to have this as a separate function.