new working proc

some proc doesn't work