frontend display different mode