adding check for devices