handles empty resource
comments out test run