Added obtaining and inspecting the input