add check for device model