added code for pebble watch