make master_index accessible to peer class