Changed csw to be a view