Added part of the flow diagram... more to translate over