for WSP class