BROOKLYN - A spin cycle class at a DUMBO gym isn't just generating powerful bodies, it's also generating electricity for the studio.

The Fitness Guru gym at 215 Water St. has introduced a program that allows class members to convert their exercise into power for the facility, all while affording them discounts in the process.

The gym says it offers 10 percent off membership rates for every 1,000 watts created each month. Members can monitor the amount of power they create as individuals and as a whole during the class.

The owner hopes to expand the program throughout the entire gym in the future.