change adapter construct call