change for clear function