added sourcemap support