adding some buffer methods and method referencing code
Merge remote-tracking branch 'origin/master'