Changed code was adapted to the project code style (right document margin is set as 100 symbols)