Adicionado as classes A e B