reverting index and style back to original for assignment