Simplified and correct code for guest list