added a remove availability function to the resource model