menu functions added