improved example usage