add public property $overwrite, default is false