removed all errors. It is now compiling