3rd attempt with out of range exception