string calcs and producerconsumer