changed dcf tick to single task
changed according functions to static