Text this: The impact of public policy on the validity of a contract