adding devices stuff