msd added

Mostly works except for duplicate string values