Functions Complete .... Code full of errors

Lots of conversion ./ other issue errors