added buffer between controller and process to deal with formatting of data passed to process