add example that uses continuous mode