Added 2 new functions list_items and get_input.