using package fmt to output