add move & merge functionality