some changes to output