Completed constructing two functions. Explored with test script.