changed result printing