It might be better to fencepost this instead ... then start your for loop at i = 1 (then you don't need to check it every time in the for loop)