typo. dangling if/else formatting