 so the error is expected and ended the block after something. So this error happens every time you have after a colon and in the next line you don't have the required amount of tabs or spaces. In this case, as we can see here, every time that there's like a big gap between the code that is a step. So everything inside this first level is going to be inside of this colon. In other programming languages you use things like brackets. So you have a bracket at the beginning and you have one at the end. So you know that all this is inside there and it doesn't matter how many spaces you do. But in GD script or in Python, this is really important because this is telling the program what is inside the line that contains the colon. In this case, this function or in this case, this conditional. So to fix this problem, make sure that the spaces are the same as the block plus one. Another issue that you might encounter is that sometimes people use spaces even though it is not recommended and sometimes people use tabs. So here if you do four spaces you will think that the else is inside this block that we have here because it is in the same vertical line. But in reality, this is not because spaces are not equal to tabs. So you need to replace this until you see this symbol which is the indicator that there is a tab in there. Sometimes when you copy and paste code from a website the code is not intended as you might expect it. In this case, we copied and pasted some function and a few variables from the code documentation and the output that we have here are only spaces instead of tabs which is the ones that we want. So if you're mixing code with things that you have you notice that maybe if you want to add this here and you paste it the code will fail because this is not exactly as this. And we get this error here mixed tab and spaces in indentation. You can fix this very easy by going to edit convert indent to spaces or convert indent to tabs. In this case, since we want tabs, we press here and everything now is working and we are not mixing those two. So remember, it's very important that you check that this is set up properly and whenever you copy and paste code from here and there make sure that you check this first. And if you see that your code is giving you a weird error and you don't exactly know why this might be one of the reasons for your code to fail. I know this might be very simple to you if you're used to using brackets in other programming languages but I recently found that a lot of people that came with questions to my Discord channel were having this issue in particular and I noticed that it's really hard to find a proper tutorial on basic indentation. So I hope that this helps you learning how to make games we got out. See you.