finished part 2 of pebble tutorial