have two threads running and adding to buffer