fix: remove single switch case; add functionality for K and 10