Clever but I'd just use an if/else statement here.