using fmt.Sprintf to get formated string