in reply to Missing the if statement and going directly to else
'continue' is also the keyword used to immediately start the next iteration of your while loop...
Try using 'kontinue' as the function name to see what happens...