assignRandomComponents(...) added