updated to working index, logic, and css