first version of detecting autotupling :-)