Begin of tracking of position
cont
cont
cont
cont
cont
cont
cont
cont
cont
cont
cont
cont
cont
cont
First line algo
cont
cont
cont
cont