WIP: resources and allocation