curried generator added