Added the rest of input procedures.