Functioning generator