updated protocol task flow