updated task and node parsing