changed threading operator to inline map creation