added filter method for profile visibility