function now returns single value
table containing links between mst and wok