is this an indentation error, or is all the code below unrachable?