Simplifying code by combining with countGuests