One function to rule them two