rework the main page