removed srand()