Python Tutorial for Beginners 5: Dictionaries - Working with Key-Value Pairs

Поділитися
Вставка
  • Опубліковано 4 лис 2024

КОМЕНТАРІ • 849

  • @satyampriyadarshi6314
    @satyampriyadarshi6314 4 роки тому +76

    I'm applying for Masters in Data Science and I just want to say that by following your videos, I will be able to develop a strong base and maybe would be able to fulfil my dreams in a long run all the contribution goes to you Mr Corey Schafer I'm thankful to God that I found your channel.

    • @anindiansquirrel
      @anindiansquirrel 7 місяців тому

      Hello can you help me out? I am also pursuing MS in Data Science. Give me some valuable advice.

    • @r3ylow
      @r3ylow 6 місяців тому

      @@anindiansquirrel bro prolly died its been 4 years

    • @anindiansquirrel
      @anindiansquirrel 6 місяців тому

      @@r3ylow lol haha your funny man

    • @r3ylow
      @r3ylow 6 місяців тому

      @@anindiansquirrel oNLY IF IWERE A MAN 💔💔💔💔 LMAO

    • @anindiansquirrel
      @anindiansquirrel 6 місяців тому +2

      @@r3ylow uh oh. sorry babes :)

  • @k8ysk8
    @k8ysk8 4 роки тому +250

    You are absolutely a lifesaver! My compsci prof is really smart, but absolutely terrible at explaining things efficiently. I understand more about dictionaries now after your 10-minute video than I previously did after my 3-hour lecture. Thank you so much, I will definitely be subscribing and donating to your patreon in the future! (once covid is over and I have a job again ):)

    • @majormac7814
      @majormac7814 2 роки тому +12

      most compsci profs ive noticed r too smart to teach newcomers

    • @master-oh6zn
      @master-oh6zn 2 роки тому +8

      did you donate him

    • @m.night_shyamamalama_sama_kun
      @m.night_shyamamalama_sama_kun 2 роки тому +7

      Fulfill thy promise and donate, my child.. or face the wrath of our comments

    • @soundrex9995
      @soundrex9995 Рік тому +2

      Yea seems like a lot of teachers r like that
      I’ve noticed a lot of these ppl who know compsci say they were self taught so it’s not like a regular class that would have traditional methods of teaching

    • @umxltiii9796
      @umxltiii9796 Рік тому +1

      @@majormac7814 I would call it arrogance lol

  • @1cannon3
    @1cannon3 5 років тому +827

    0:07 - Terminology
    0:14 - Key/Value pairs definition
    0:37 - First example (Student using a dictionary)
    0:45 - { }, Dict notation, curly braces,
    0:50 - adding elements
    1:32 - [ ] Square bracket access of the dict
    2:04 - Dict items can be many things, they’re not bound to one “type”
    2:14 - Keys can be any immutable data type
    2:24 - Example of an Integer being the key
    2:44 - Accessing a key that does not exist
    3:00 - Alternative to “throwing an error” if a key does not exist
    3:05 - Sometimes you will want to return None or a default value if key does not exist
    3:09 - .get( ) access of the dict
    3:30 - accessing a key that does not exist with the .get method as opposed to [ ] square bracket access
    3:40 - Specifying a default value for keys that do not exist
    4:01 - Adding a new entry to dictionary
    4:30 - Changing/updating values via key access
    5:02 - Changing/updating values via .update() method
    5:21 - .update() takes in a dict as an argument
    5:57 - Deleting a specific key and its value
    6:01 - Option 1 for deleting a key and value: del keyword
    6:26 - Option 2 for removing a key and value: .pop() method
    6:30 - Remember the .pop() method not only removes the item put pops it off or returns it to you
    6:35 - Therefore you can recover the popped item with a variable assignment
    7:07 - How to loop through all the keys and values
    7:13 - Finding out the number of keys in dict with len() function
    7:30 - Print all keys with .keys() method
    7:39 - Print all values with .values() method
    7:47 - Print both keys and values with .items() method
    8:07 - Looping is slightly different then lists because dicts are concerned with pairs (Key : Value)
    8:33 - How to loop through keys AND values

    • @dreamscapeai7
      @dreamscapeai7 5 років тому +8

      Nice, this helps, thanks

    • @yesdone4993
      @yesdone4993 5 років тому +4

      thank u

    • @MrXIndependent
      @MrXIndependent 5 років тому +11

      God among men.

    • @andyn6053
      @andyn6053 5 років тому

      How do you write a list with all the content with links like this?

    • @MrXIndependent
      @MrXIndependent 5 років тому +5

      @@andyn6053 diligent note taking. and you make the links by typing the time like 1:02

  • @sfs25c
    @sfs25c 6 років тому +59

    I was struggling to learn Python.Even I took a course to learn Python.But I will Thumbs UP to you for explaining all the topic in such a easy.Your videos are the best.With each video, I am gaining confidence.

    • @coreyms
      @coreyms  6 років тому +9

      Thanks! Glad you're learning and finding these helpful!

  • @MyTube4Utoo
    @MyTube4Utoo 7 років тому +159

    Best Python tutorials on the planet!

    • @vinaynair1911
      @vinaynair1911 7 років тому +1

      true

    • @KalvinPatel
      @KalvinPatel 6 років тому +1

      how well do you know python now? I'm about to watch the next video after this dictionary one. Gonna continue on but just wondering has it benefited you yet?

    • @savitaprabhakar3010
      @savitaprabhakar3010 5 років тому

      @@vinaynair1911 yeaaaaaa'

  • @Vintagetube310
    @Vintagetube310 2 роки тому +3

    You literally explained lists and dictionaries in the simplest terms possible. Thank you so much, I don’t know why professors cannot be like this. You literally gave me more of a clear understanding with the logic and the syntax behind creating dictionary lists with keys and values, as opposed to how my professor does it. Thanks so much. I subscribed. Looking forward to more tutorials.

  • @AmDsus2Fmaj7Am
    @AmDsus2Fmaj7Am 7 років тому +98

    Just wanted to say you are awesome. Thanks for the videos.

  • @xxPingPangPow
    @xxPingPangPow 4 роки тому +10

    I already took a graduate course for intro level Python-- and your videos are honestly better! chugging through the beginner videos as a refresher and I cannot wait to jump into the more advanced topics. I feel so lucky for finding such a great resource-- and it was easy, your videos are so widely reccomended! Thank you for developing such an great and accessible course.

  • @raymondtan9112
    @raymondtan9112 5 років тому +17

    Corey has the best Python tutorial in my 3 years of trying about everything

  • @yadneshkhode3091
    @yadneshkhode3091 6 років тому +25

    BEST TUTORIAL EVER!!!!!!!!!!!!! glad I found it recommending it to all my friends in college

  • @mudhitkumar
    @mudhitkumar 5 років тому +5

    Finally, I a feeling confident about programming, I have been trying from so many months just to learn the concepts I have given so many attempts before this as well. Just to memorize the concepts all the time. However, back in the time I found that stuff really difficult to remember. Now with these videos, I can learn how to code and it is really easy to memorize the concepts as well, the way you explain things, it is really awesome, I really appreciate your work.
    Thank you,
    Mudhit Kumar

  • @alecwilliams945
    @alecwilliams945 6 років тому +25

    These tutorials are some of the best that I have seen out and cover a wide assortment of topics from Beginner to Advanced. Great Work Man!

  • @mahshidpooladvand8502
    @mahshidpooladvand8502 10 місяців тому +2

    Mr. Schafer, I've never felt so close to learning these concepts after spending so many Python courses... I will be donating for sure.

  • @goncalosd
    @goncalosd 5 років тому +6

    What a Legend! Someone going out of his way just to make knowledge available to others... that is Special. Congratulations Corey, these videos are awesome !

  • @shivrajsingh5559
    @shivrajsingh5559 4 роки тому +2

    These are the best article i have found. I completed python from other sources and someone referred me your pandas tutorial they are just awesome. After watching your pandas tutorial wants to again go through all these python tutorial.

  • @brijeshsamal7035
    @brijeshsamal7035 3 роки тому +6

    I love Corey's videos, they're super simple and straight to the point, and explain everything very well.

  • @valeriatapia1128
    @valeriatapia1128 2 роки тому +4

    Finally someone who explains this stuff in a much simpler and less confusing way. Thank you so much!

  • @Ninja-iq2xt
    @Ninja-iq2xt 7 років тому +17

    Glad to see you with totally refreshed Python Tutorials, Thank you so much Corey!

  • @tj9382
    @tj9382 Рік тому +1

    Teaching like this is gold.

    • @easydatascience2508
      @easydatascience2508 Рік тому

      You can see my playlist too. The channal has Python and R playlist for fundamental tutorials. Source files available too.

  • @anshikapal6992
    @anshikapal6992 4 роки тому +13

    Man u should be python teacher a great teacher who can explain everything so easily after watching u r video i m having no doubts i m in 11th commerce 😅

  • @akmzahidulislam2764
    @akmzahidulislam2764 3 роки тому +1

    Shot and quick; yet covering all the important aspects of the topic.
    Many thanks.

  • @etc3redsox
    @etc3redsox Рік тому +14

    Hey Corey, I know these videos are geared towards beginners like myself - and also a few years old at this point - but it would be helpful to explain how each concept in the tutorials are used in the real world, beyond just printing out values.
    Hopefully this makes sense! Thank you for the instruction - I appreciate your teaching style

    • @Nikhils_Gaming
      @Nikhils_Gaming 10 місяців тому

      He kinda does that... The code he used *could* be used in a program that calculates a student's grades or keeps track of them like google classroom. However, it was simplified for the video. Hope this helps

  • @swaantjuh
    @swaantjuh 5 років тому +8

    This is the second time I looked up something about Python on youtube. This was so well explained that I wanted to sub, but apparantly you were also the guy who explained regexes like perfectly, therefore I already subbed.. Thanks for keeping programming fun!

  • @effuseakay
    @effuseakay 5 років тому +14

    WOW! that was clear, straight to the point, and perfectly explained!!! Thank you so much!

  • @Aditya-ss1rq
    @Aditya-ss1rq 6 років тому +11

    I dnt how this video ended on my recommended list but its great. Your tutorials are far better than paid tutorials. Subcribed to your channel., 👍

  • @kimpierce7825
    @kimpierce7825 3 роки тому +1

    You are saving all of my bacon. I didn't know anything about dictionaries before entering into grad school that assumed I was very familiar with them. This is everything. Thank you~~~

  • @AnkitSharma-um4ml
    @AnkitSharma-um4ml Рік тому +7

    The 9 minutes of this tutorial is far better than the 1 hour tutorial I learned from Udemy . Thanks, Corey

  • @sheikhspeare7262
    @sheikhspeare7262 4 роки тому +1

    Just from the start of the video I knew you sounded professional. I paused and cake to the comment section and saw a lot of these people learnt. I have just started to actually learn this all. Don’t know any of the languages. If I find this helpful I could probably donate.

  • @michaelyaacoub2520
    @michaelyaacoub2520 Рік тому +2

    It so funny I put "find me a video that explains sets and dictionaries in py better than my professor " into ChatGPT and it recommended me this Corey's content. So cool.

  • @pax61
    @pax61 6 років тому +6

    The best, most clear and concise description I've found. Good job!

  • @novicetech1
    @novicetech1 6 років тому +258

    Thanks again. I actually thought I knew python dictionaries. Now I feel like Jon Snow. I know nothing. I could have saved a bunch on Udemy if I had found you first.

    • @MegaJohn144
      @MegaJohn144 6 років тому +6

      I could say exactly the same thing.

    • @andyn6053
      @andyn6053 5 років тому +3

      @@MegaJohn144 Udemy is crap

    • @bpkoiralaproductions6004
      @bpkoiralaproductions6004 4 роки тому +11

      @@andyn6053 Yes, Udemy sucks. It would be better and cheaper to just buy a book and read it!

    • @Ryan-fl2dz
      @Ryan-fl2dz 4 роки тому +3

      i'm glad i didnt use udemy so fast...

    • @JY0002
      @JY0002 2 роки тому

      JON SNOW LOL

  • @glydon-w2w522
    @glydon-w2w522 6 років тому +5

    I have made a notebook to write down the notes and key points . I dont have to suffer in my college learning basics . I can move forward to advance topics
    So grateful to you and your indepth
    Explanation

  • @Levinsane
    @Levinsane 2 роки тому +3

    These were the tricky ones. I'm a python learner and I was stuck in one of my practice problems. Thanks for this great video Corey!

  • @swatisrivastav5620
    @swatisrivastav5620 3 роки тому +6

    You are amazing, went through other platform courses, even paid ones, but your's is simply amazing. Thank you for existing 🙏. The way you explain every detail that too without letting us feel pressurized is so rare.🥺 Thanks a lot sir 🙏🙏

    • @vasudev16180
      @vasudev16180 3 роки тому

      Yes, He is. Thank You for praising my Guru! #KeepLearning

  • @inc0nsistentgent893
    @inc0nsistentgent893 Рік тому

    dude...this just explained so much to me in such little time. I have been scratching my head for a while over things and not really understanding some looping within these dictionaries, but your explanation makes so much more sense that its actually starting to come together. Thank you.

  • @islamalmsarrhad2152
    @islamalmsarrhad2152 Рік тому

    I've been learning Python for a while, and you are gifted. Many thanks

  • @sazopro
    @sazopro 4 роки тому +3

    I'm studying Python on DataQuest and this channel is amazing to compliment the theory. Mos def will be donating soon!

  • @jasondeb2678
    @jasondeb2678 3 роки тому

    I've UA-cam adblocker but I disable it when watch your channel and I don't skip the add so that you can earn the minimum for providing such an wonderful platform for us to learn

  • @potsatamas4859
    @potsatamas4859 7 років тому +13

    This courses are really helpful! Saves a LOT of time and money! Thank you very much!

    • @msrikavya9651
      @msrikavya9651 6 років тому

      Pótsa Tamás in fact these videos are for learning but if need a certificate that u have a completed a course on python by writing the exams then u can't rely on them:)

    • @yadneshkhode3091
      @yadneshkhode3091 6 років тому +4

      no one cares for certificates knowledge is everything

  • @kmwong3808
    @kmwong3808 2 роки тому

    Wow! I didn't fall asleep while watching the video. It is precise and easy to understand.

  • @mrmuranga
    @mrmuranga 6 років тому +2

    very simple and nicely put....am a python enthusiast and everyone I learn something from your videos

  • @marvinkaranja9847
    @marvinkaranja9847 3 місяці тому

    Your videos are just wow. Simple and easy to follow. Thank You for this amazing work

  • @arthurivex2298
    @arthurivex2298 4 роки тому

    I am taking a class at my local College, and your videos are a great supplement to the topics in the class!!! Thank you!

  • @LivingInnocently
    @LivingInnocently Рік тому

    Effortless and excellent teaching by a born teacher.

  • @oiahsdokad2459
    @oiahsdokad2459 4 роки тому +5

    Thank you so much for these videos.
    I have tried learning Python through EDX and Brilliant.
    EDX was good but in two of your videos, I learned more than in several hours of EDX.
    Brilliant has a wide variety of courses, so judging it on one alone isn't perhaps fair. However, for the time I put in, the knowledge I received was minimal
    Here, in just a few hours of learning, I feel really comfortable in writing basic code and am looking forward to all your future videos.
    I've lost my income so can't commit to a monthly payment but will send a one-off for now
    Thanks so much

  • @nachiketwattamwar9706
    @nachiketwattamwar9706 5 років тому +8

    Best python tutorials I ever found....

  • @spencerobrien3213
    @spencerobrien3213 5 років тому +3

    Great Video to help me get a grasp on how dictionaries work! keep up the great work, you are a great instructor!!!

  • @marlowemichaelson1366
    @marlowemichaelson1366 4 роки тому

    Between you and Mosh, I don't know of a better way to learn Python. Thank you so much.

  • @emmanuelmasemola1014
    @emmanuelmasemola1014 2 роки тому

    These are the kind of channels that I subscribe to, very insightful

  • @abdurahmanomoruyi7753
    @abdurahmanomoruyi7753 7 років тому +1

    I love you corey. you really make my experience with python so much better

  • @rogal_dorn5600
    @rogal_dorn5600 9 місяців тому +1

    Short and straight to the point. Nice vid m8

  • @dhoomketu731
    @dhoomketu731 6 років тому

    Corey, you are a brother from another mother. You make stuff really easy to understand.

  • @us-xf3kk
    @us-xf3kk 4 роки тому +3

    Best tutorial on UA-cam and in the world

  • @muhammadbinzafar2216
    @muhammadbinzafar2216 6 років тому +1

    Yes, the tutorials here are vastly better - really better.

  • @SirGarthur
    @SirGarthur Рік тому +1

    Ayyyy cramming for my final is now seeming doable!

  • @davidbolduc4378
    @davidbolduc4378 2 роки тому

    This video was the best 10 mins I have had in a while.

  • @fantakettle100
    @fantakettle100 2 роки тому

    I swear to god this is the only video on youtube that actually properly explains dictionaries without overcomplicating.

  • @rheagalsim7497
    @rheagalsim7497 5 років тому +1

    I've struggled to understand syntax but you've been very clear and explained the 'why' of what to type and functions to call perfectly. Thank you so much! I feel like i'm truly learning and getting it!

    • @coreyms
      @coreyms  5 років тому +1

      Glad to hear that!

  • @andyn6053
    @andyn6053 5 років тому +1

    You have the best python tutorials on youtube without any doubt Corey!

  • @androidynamit
    @androidynamit 4 роки тому +1

    This is hands down the most detailed tutorial series I ever had, Thank You, Corey!!

  • @patrickimoh
    @patrickimoh 4 роки тому

    Having studied the Python Institute PCAP course, I'm finding this very helpful and I am experiencing some topics that weren't touched, which are useful for data analysis. Stuffs like union, intersection and difference... I'll definitely be watching till the end and will watch all videos again... Thanks for this...

  • @SmokyBigSmoke
    @SmokyBigSmoke 4 роки тому +2

    This is exactly what i was looking for. The best explanation ever.

  • @terryallen3904
    @terryallen3904 2 роки тому

    Key = word and Value = Definition. This made the penny drop, I get dictionaries now! Thank you.

  • @Daverhan02
    @Daverhan02 5 років тому +6

    These videos are very well designed! Thank you for your efforts of creating informative python videos!

  • @meltedcheese1908
    @meltedcheese1908 6 років тому +2

    I am glad that I found your channel. It is really going to be helpful, thanks mate!

  • @ErikSkoglund-je7ph
    @ErikSkoglund-je7ph Рік тому

    Currently doing the Python crash course by Coursera and this is just sooooo much better. Amazingly happy I found these videos. Extremely well explained.

    • @benjaminjohnpabroquez8012
      @benjaminjohnpabroquez8012 Рік тому

      You can copy my code and test it for more practice hehe :) that's for free hehe
      foods = {
      "pizza": 20,
      "burger": 40,
      "hotdog": 30,
      "pasta": 25,
      "salad": 15,
      "steak": 50
      }
      order = []
      total = 0
      print("Menu:")
      for food, price in foods.items():
      print(f"{food}: ${price:.2f}")
      while True:
      food = input("Enter the food you'd like to order or q to quit: ").lower()
      if food == "q":
      break
      elif food not in foods:
      print("Invalid food item!")
      else:
      order.append((food, foods[food]))
      total += foods[food]
      print(f"{food} added to order. Total cost so far: ${total:.2f}")
      print("Order summary:")
      for item in order:
      print(f"{item[0]}: ${item[1]:.2f}")
      print(f"Total cost is: ${total:.2f}")

  • @sanjayursal5330
    @sanjayursal5330 4 роки тому +1

    You have the gift of making it easy and interesting to learn. Thanks

  • @expat2010
    @expat2010 4 роки тому

    Consistently the best and most efficient videos on every subject you cover!

  • @raison991
    @raison991 2 роки тому

    Of all the Python videos tutorials you are the best. Very practical and clean concept and usage and fun in learning.

  • @Noobshreds
    @Noobshreds 4 роки тому

    I was struggling with a practice project in automate the boring stuff where you basically have to make a fantasy inventory. I couldn't figure it out and everywhere I looked I ended up finding solutions like 'print(str(inventory[item]) + ' ' + item)' for this one particular line. Confusing as shit. All I had to do is watch this video and realize it's as easy as writing print(key, value). Maybe there are benefits to the former, but my point is that this channel has been VERY helpful in putting everything in lamens terms... THANK YOU!

  • @gauravgoyal6505
    @gauravgoyal6505 3 роки тому

    i never saw this such great work on youtube related to programming
    thank man

  • @franciscorivas4036
    @franciscorivas4036 4 роки тому +1

    Your videos are superb! Thank you from Ecuador.

  • @gdorman619
    @gdorman619 6 років тому +1

    You're a really good teacher. You make things so easy. Thank you for your videos.

  • @sujaa1000
    @sujaa1000 3 роки тому +1

    Thanks a bunch to you Corey, I tried to learn Python from a number of resources, but I am able to understand and continue only your explanation. Your selfless service means a lot to a whole lot of people.
    I am learning Python to do some competitive programming, if possible can you make some videos which would need some logical thinking and apply algorithms in Python, which could set the path to take up competitive programming.

  • @tathagatsharma5773
    @tathagatsharma5773 4 роки тому +1

    best explanations eveeeeerrrr.... Thanks a lot man your tutorials are way better than anyone else's

  • @palindrome8845
    @palindrome8845 5 років тому +1

    Very good tutorial. Thanks to you, I now understand dictionaries better.

  • @Nia-sk8qo
    @Nia-sk8qo 2 роки тому

    I really do feel comfortable with dictionaries now! Thanks a lot.

  • @Nothingspecial604
    @Nothingspecial604 7 місяців тому

    Definite like and subscribe here. Extremely well thought out and direct assistance through example. Thanks man you saved me a million migraines

  • @prashantkumarparmanu
    @prashantkumarparmanu Рік тому

    Great Sir. I larned more than my University classes.

  • @232-techs
    @232-techs Рік тому

    This is one of the best ever to encounter video explanation. The content is clearly explained and much easy to understand. Thanks bro...

  • @dattatreyapujar4068
    @dattatreyapujar4068 5 років тому +2

    Good Work.

  • @YURTZYN42
    @YURTZYN42 3 роки тому

    life savior of a video. God bless you.

  • @hdv-q4n
    @hdv-q4n 4 роки тому +1

    You deserve 10 million subs, You are simply amazing!!

  • @kaustubh.sharma
    @kaustubh.sharma 5 років тому +96

    The day i'll get my first salary i'll surely contribute!
    for now only i can say is Thank you so much!

  • @Pyazdan
    @Pyazdan 3 роки тому

    Thank you for the brief and concise dictionary tutorial.
    Looking forward to seeing more tutorials from you.

  • @judesma2180
    @judesma2180 5 років тому +1

    Your videos are so easy to understand

  • @shrawansahu9500
    @shrawansahu9500 2 роки тому

    You are like Python God for us, Thanks a ton @Corey Schafer 🙌

  • @KhanSameerlolkhanme
    @KhanSameerlolkhanme 4 роки тому +2

    When I will become a data analyst I will donate for your work
    Incredible work
    Great better than my college teachers

  • @artur2.043
    @artur2.043 2 роки тому

    Quick concise information. CLEAN. Thank you sir! Best I have found on youtube so far.

  • @r.hyacinthe7756
    @r.hyacinthe7756 4 роки тому +1

    This is the best Channel on Python.

  • @maheshvenkat9956
    @maheshvenkat9956 4 роки тому +2

    This was a comprehensive and well explained video

  • @suryanshpandey832
    @suryanshpandey832 6 років тому +1

    thank you sir, your videos are of great help for people who can't afford expensive courses on various sites.
    so please keep making such good videos
    best of luck from INDIA

  • @sareng2005
    @sareng2005 5 років тому +1

    wow, thank you. This video was very straight forward and easier than reading a book.

  • @andyn6053
    @andyn6053 5 років тому +2

    Really great videos! You are way better than my university teacher in explaining things!

  • @soumyazyx
    @soumyazyx 5 років тому +2

    Thank you Corey for your time and effort. Keep spreading the knowledge.

    • @us-xf3kk
      @us-xf3kk 4 роки тому

      he will but you donate

  • @aronquemarr7434
    @aronquemarr7434 6 років тому +1

    This is so much better than Programming Knowledge.

  • @sazchnauwu4231
    @sazchnauwu4231 3 роки тому +1

    Thank you I love your videos, this help me to understand phyton more🥰 you're video help me create my project for programming

  • @theaoh5237
    @theaoh5237 5 років тому +1

    Sweet and simple breakdown. Very helpful. Thank Corey!

  • @ahmednazih5686
    @ahmednazih5686 6 років тому +4

    Okay You Sir are a legend! Thank you very much for these Tutorials. hands down best Python Tutorials on Internet

  • @Danieldrd
    @Danieldrd 6 років тому +1

    I've been really enjoying and learning a lot from these videos. Thank you very much for doing this, it's really appreciated!