Method 2 is not working, it has the delay.
The clear is happening at some random point because of the delay