start of design and buffercpp