courts.size deprecated