new circural buffer implementation
working comunication