move add functionality