reformat the declaration