starting separation of common code in localizers