Added 1/2 of functions, code compiles