Some logic