A theory of the child's theory of mind