Added isFailed & isSuccess