some changes to process controller