first go at some buffer cursor functions