Shouldn't this be after the while loop?