analyse output better