Lambda-based dynamic tracking variable