Added compm and compmd