add the EAs calculation