Pebble code used for Pebble Developer Retreat 2014