side-effect detector