inputs are objects