Logical thinking in second grade