Started adding code of procedures.