ds - circular buffer looks good