adjusts to the generator