https://thecode.media/adapter/