initial somewhat working detection