Works on clearing elements