taskstate impl.