removed uselesse methods in pyrex and better simulator