like he said hey i want some neji rec than you actually went on so let's keep following this through and see what happens when we make this move call right we've got all this information on the stack we haven't actually done any of the instructions and moved yet somu comes along and says hey i'm going to be the first instruction add whatever indie acts which happens to be the value ten over two p x which px to my notes for four to it's the p x that i get to by following at this point you are going to have you dress of this so guys up to a thousand it looks at the overhead seven figure out where p axes starting a location a thousand if it ain't over here its value wise to i had tend to attend agatha value twelve and it does the same thing on the next line when it's modifying p wyatt says i want to modify p y which p why my referring to the one that's out location of thousands of those two thousand says hey why can i find p y from starting in two thousand it over here and it adds eleven to the value three that was there before and i get forty now this method is done right the movement that we executed everything in the move method it's done here is the funky things remember i told you when a variable that's on the stand goes out of scope when it's no longer being used the computer automatically comes along and says hey that variable that memory's not getting used anymore i'm going to take it back so allman memory over here on the stack it's associated with the stack for the move method right which is the parameters to move that this plan for that this variable which is actually hidden parameter to move and the overhead associate with move that with all the memory they got allocated when i get this movement this move method is now gone which means all of the memory of it allocated just to execute the move movement automatically gets d allocated by the machine what we're for two as popped off the staff is if you think about the stack wrong and we get to a certain point like hey we're done with his top of the stack which are to say blink and we pop it off the stack and it goes away so we pop it off the stack moment of silence it goes away and then the program just keeping executing from wherever left off right if there is another method called guess what the stocks cannot grow from this jenny questions about that if we were to call the move method again it would have recreate all the stuff that needed on the stack for another indication of my because all that stuff stamp right right after does move wants it doesn't need any more if you invoke move again and created again that's just the way like alright questions about that now one thing to keep in mind that's important is that there that you were ality you're right i keep applying this thing called the pointer so i will just without the pointer right think pointer it's very unlikely a little odd evil when i actually hit the the board with a pointer but the way to think about the players i just think the value of thousand this is referring to address a thousand this is just kind of pointing up to a thousand right we don't really care what the value what i think you're all we know it some memory address up without so what are we going to do batches draw it that way so grab on having this thing right out of thousand in here who remember all he had a thousand supposed to be a memory addresses etcetera we're going to drive the pointer and say yeah this thing is really some memory address on the memory addresses just pointing over here you have a thousand over here let's know that the thousand but graphically it's a fun way to keep track of back for some definition of fun it's a fun way to keep track of it then you know that you're not going to mock weapons variable in here is that weren't integer right this thing is just some referring to some piece of memory where you're actually storing some object and similarly so to speak to you that i would like to think of as the pointer viewpoint of the world it just the fact that things are memory dresses are really pointing somewhere they're telling the machine basically like but i know where you live 