change adaptor as private field