add arguments back to functions