added map and inject example