added optional number of subtitle loops