clear function removed