added state field in proc_t