adding helper method to find pending survey