complete the pred pow and sub.