implementation of DynamicControlTask class