construct homepage