updated usages for curried function