Changed ideal processes code