New version of PE2 using euler library