this whole i == 0 is unnecessary complicated as you can return false above.