modified index and styling