http://stackoverflow.com/questions/19560017/variable-not-found-in-the-outer-class-scope