Added an aboject generator