made a index to let user choose