added PublicAccessData support to Switch