bind factory method to index