added a cloud code function that I need to test. @Anurag, we really need to discuss how this is going to work