Updated with two functions to list_items() and get_input()