Added desctuctor agent + int->uint