make some class member protected