corrected section for production, variables were not presen