people view switch statement