added wait resource