initial work on scheme side of buffer