added public flag