Text this: Defining and registering criminal offences and measures