implemented view menu