BCI target pursuit code