stuff for xss2 homework