changed player into Mob and adjusted existing functions accordingly.