fixup
Added if block for mp initialization and some comments