Added more clock logic