reimplementation of myagenda (first part)