custom_proc and view avatar