copy & paste from standard adapter.