modified adapter