implement methods inheritance