Removed unused functionName param