providing access specifiers to the variables