clear demo code