Piaget's theory applied to an early childhood curriculum