reformat the code to eclipse standards