checked if output is nil