Added some functions, basically recoding what was done before so I understand it a little more...