changed access modifiers for unit testing