working app, added map directives