First iteration of generators working