implemented setuid priority