assignRandomComponents2(...) added