Added detection of available devices!