got back deleted code. Added dummy adapter