Fixed Function Signature for print_upcoming_events