detect work