Text this: doctrine as a source of law