implement linux clock