Added slides up to loops.