delite map as flatmap(singleton)