Optimization: should make `1000 * 60 * 60 * 24` a constant somewhere to prevent calculating it each time.