Removed reporting and got it to compile - but not run properly