Prepare pudding to directions, then blend in cream cheese. Spread this on cake. Sprinkle pineapple on next and then spread on Cool Whip. Put nuts on last.