add public to classes/method so compiles using beta 4