Refactored common euler code