device type detect main menu; loadshedding