new class to be inherited with similar methods.