clone arrays
reformat
refactoring