Added Resource Incrementing with bounds checking

f