add writeResources() types `bool` and `integer`