Removed excess srand()