only if clock<clockmax