def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def tag(self, g):
        self.g = g
        self.g.beginPath()
        self.g.fillText("%d, %d"%(self.x, self.y),self.x, self.y)
        self.g.stroke()