processing and clock stuff