Initial index implementation