working clock settings and cpcap stuff