formatting of dspec