utils, part of adapter