I don't think this function needs to be exported, does it?