get logical clock