added puts to generator