implement interface. exercicio prof Bogado