escape function needs to be available to other plugins