Private and Public flag functional