Added clock class