Initialization. Basic work