open health tracking algorithm