the code compiles now. which is a start
fixed the function imports not working