resources and users arrays