allow any integer type in switch statements
make class parameters explicitly typed instead of implicitly typed