Moved adapter definition