Consider using else {} instead of continue;. It's more readable