added class extends feauture