       eval(@map_code)
 
     map(@data.split('\n'))
+    #todo will new lines work? jagnew says hrm
 
   map_done: () ->
     msg = {name: "MAPPER_DONE", id: @_id}

  get_mapping_code: () ->
    #TODO figure out where this is

    @map_code = null

  run_map_job: () ->
    @mappings = []

    @job_id = start_reduce_message.job_id
    @number_of_mappers = start_reduce_message.number_of_mappers
    @reduce_data = {}
    @mapper_done = (false for i in @number_of_mappers)

    @get_reduce_code()

  get_reduce_code: () ->
    #todo something with job ids?

    @reduce_code = "pass"


  add_data_src: (map_data_msg) ->
