preparation for the home page