Works smmothly with autodetect