just working out some logic for a word clock