updated call flow diagram