updated for profile view