almost done index layout