creating initializer