revise for XSS trial