future proof switch statement against unnecessary warnings