improving date randomizer, removing unused imports