init code to parse short form