Make a custom adapter