How to prepare a virtual custom event?