added homepage algorithms