testing permisions