first draft of LockFreeBuffer, not compile yet