added vctsm code