commented out permissons check