The code doesn't seem to function correctly in xanga. Is this code supposed to stand alone?