solve EPI