added currying example