got buffer to work perfectly