You provide the necessary code, but never mention how to use it, especially with custom data. Could you provide an example?