format code to match existing code style