circular buffer initialized