Finished the functions, it builds now.