Perhaps a switch() / case here instead?