removing of the temporary variable in multiplication and commenting the code