Changed array decelaration for b, s, and i