Changed the mob logic