added simplified spark mapper