playing around with generated codebuffers