magic panel code