updated epsilon equation