trim codes