added basic vclock implementation