modify menu functionality