updated clock to account for macs