added method sample output