maybe move this below the inner class declaration.