Added an adapter