adding xm prolog in wmc
begin merge
removing hacks
removing comments