Clock definition; updagred to VS2013