provide adapter from it to const it