new method for direction
merge