maintaining list of opened devices