working button and generator