permissions are now maps for speed improvement