now with perfect clock