parameters are parsed from the first line of document