adding prettier index