some resemblance of cross detection