mob.c and mob.h added