Added menu and insert functionality