I can compress lines 35 and 36, but I don't want that else block on 39 to run when it shouldn't