adds a better performance in terms of device detection