implemented flat earth base class.