Formatting UI codes (step V)