shp() takes buffer
updated readme