adding playbackLooped handling