Code example for Pixafy application