ready to test ring buffer, must do away with linker errors