minor interface change. don't return error from Index, panic instead