@Override
    public FutureMeeting getFutureMeeting(int id)  {
        Meeting meeting = null;
        FutureMeeting futureMeeting = null;
        for (Meeting curr : allMeetings) {
            if (curr.getId() == id) {
                meeting = curr;
            }
        }
        if (meeting instanceof FutureMeeting) {
            //down-casting to FutureMeeting
            futureMeeting = (FutureMeeting) meeting;

        } else if (meeting instanceof PastMeeting) {
            throw new IllegalArgumentException("This meeting has happened in the past");
        }

        return futureMeeting;
    }