add registration & clear