We exhibit a construction which produces for every Turing machine T with tw
o halting states mu (0) and mu (-1), an algebra B(T) (finite and of finite
type) with the property that the variety generated by B(T) is residually la
rge if T halts in state mu (-1). while if T halts in state mu (0) then this
variety is residually bounded by a finite cardinal.