Can you create a sample and unit test for this method so we don't have a regression