little update on function view algorithm