creating a better frontend index