replace condition with State or stratege