made this a proper index file