removed autoindexing and used manual indexes