stuff for MMSD work