Properly format code