created proc_ploid in pwin.cpp