Enhanced pebble code