added general result set printer