better output checks