improved code menu