added function for getting individual device information