endpoints and adapters