fixed compile errors (though more content will need to be added later)

not sure why some functions are appearing again, but sure