reformatted all code using clang-format