Added basic detection for smartphones