Switching content type logic