Deleted permissions. Now runs on ArrayLists