CHECKING THE ACCESS