Added the temporary variable to each function