Added Flow Chart and Comments