added part of constructor