preparations for command switch parsing