new events logic for homepage