implement movie loopstate