compiling md