some changes in constructor of Assembly class