How about detect? Again your usage of spaces around braces seems inconsistent. Would recommend space before and after `{` and before `}`.