first pass at generating source maps