added nextSuccess & nextError