updated the queries a little, added buffer example