implemented merge command
implemented merge command