Makes the code in index more readable