[code] updated code