add default to switch case method hashing