more work on mapworker by adding in string manipulation