handle output in an easy way