added public index test