small attempt to reduce open space in generator