inner classes with Work transactions oh my