modify task assumption logic