public profile and code view