Moved function pointers for phi