Created circle derived class and modified the base class accordingingly.