device working