Using srand() might help too.