modified the access modifiers