Code for the ZenbyApp