Got logic right