make keyPrefix a function, so we’re always getting the correct date