extending wrong class