Modified ConsoleUI to support all three references