copyright + code reformat