Actualized version to B0.2_B2

Signed-off-by: FroznMine <pesafrre@arcor.de>
Reordered the code.

Signed-off-by: FroznMine <pesafrre@arcor.de>