with example output