Pade loading code