rewrite of import function
added edoc example agenda