Updated mob reading code