Rewrote the mob code using default fields