cross logic