frontend switching option