generating power with magnets