removed and add viewoutput