added a helper method for mocked images