getBuff snippet