Added functions to replace free variables