refactor: simpler conditional #5