merge employee functionality