Made the clock IC use caching. Major optimization