added superuser check