random direction & just one srand