added srand