able to provide switch case statement missing case suggestion
make it thread-safe