Working on intigrating agenda with database