before formatting code