better menu funtionality