changed few access modifiers