Added gathererCode for multiple sets