implemented clock - VERY experimental