curry usage example added