adding euler stuff