merged codes
merged2