added public view feature