first endpoints for device working