Your posted code is useless to help us figure out what is going wrong in your script. This posted code obviously has no connection with what you're really doing in the script because there are no conditional checks being done, you're just jumping from one function to another and then recursing to the first one again. If you want real help, post the code that's not working, not something that isn't going to help you, or help us help you. If you're unwilling to post even a reproducer script that shows what you're doing in your real script then you're on your own. As stated, this code will run all three of your functions every time, then jump back to the First() function and do it all over again. So, to answer your original question, there's nothing wrong with your code, must be something else you're not showing us. Once you figure out how to post the code that isn't working, come back for some real help. In the meantime, stop asking pointless questions and posting shit code.