2nd attempt with out of range exeption