Gen

Added variable to generator