improved code menu design