Added single thread demo.