store device context.