thought finished but answer incorrect
off by one error driving me insane