beginning or end of your code. It doesn't matter too much, but if you find something isn't displaying properly just try moving it to the other side. If you don't have one and do add one, it may seem to slow your game down since you would have originally programmed your game to run without it, but VSYNC really is a vital command to get proper timing and control over a game.