changed for two speed controllers