updated generators with correct syntax