added in menu functionality