clock class