added doc comments for better sample output