moved Euler and stuff