Added some Pebble functions