removing a get_value from switch