improved detection