renamed resourcereservation to resource