source-map implementation