add procs compilation logic