list_items and get_input functions declared