now compiles and very basic stuff works