fixing sample output