add tasks + states