contract rights created by statute