Changes done in adapter