added universal app mode