Create adapter