apply adapter