Origins of functionalist throty