Added method
merge code