view button work