get_input_items modularized