added work flow diagram