make random deterministic on day