added removePseudos fn