detect controls example for dave