execute tasks nly of right type