Corrected problem with ResourcePool (forgot to instantiate an
attribute!!!)