fixing access modifiers