added on_load example