ERA works, only add final variance check