added subscription processing routine