added pre class code for webreflection