mergeall became staticmethod