implement bubble tracker