making like real life project
fixing index