erased more and reset command so when you input the index it will output all the info directly