reformat code to remove long lines