wokring on view menu