Changed enum i to in