support python 3 and make output better