removed superfluous default case