srand should only be called once