Base Version of the Code.