methods were  implemented