change accesses

private field accesses changed to public method accesses