This file has the completed functions