* Implemented circular buffer and random id factory