add schema and processes_state