detector: implement output according to specification