example usage added in main