merge functionality in one click