adding state to containers and mobs