working on Mob class