[code] if register