initialized @agendas as empty array