add some menu function