added accessor for private field