standardize code