getting device details