Implemented device determiner!