Updated code - added "code slots" for menu choice.