Incorporate get_resource method more fully