added flags to profile view