added cloudpebble code