Added Procs to decrease duplication.