finished code phase tracking