reuse tau instead of loop in pi