worked with my MD stuff
stash. minor changes