changed default loopmode to 1