He was assigned to work in the design bureau of the Baltic shipyard. After the defeat of Russia in the war with Japan and the actual loss of the navy in the Battle of Tsushima, the Naval Staff Headquarters was set up in Russia, which worked out a programme for the modernization of the Russian navy. The Baltic shipyard was supposed to play a special role in the realization of the programme.