clock with class