adding raw impl of endpoints.