check for resources