Wharton and CAS curves