Initialization. Base functional