minimal pebble api to get things going