got two production-generating functions to work