How to implement VSM