Pomelo client code