menu functionality added