added input fig