Reading all inputs, using internal variables