preparing source maps